<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html><head><title>run-time-src\Logging.js--doc</title><link rel="stylesheet" href="screen.css" type="text/css" media="screen"><meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /></head><body><div>
<table with='98%'><tr><td width='18%' valign='top'>
<div class='fn_index'>
<h3>File list</h3>
<ul>
<li><a href='Browser.html'>Browser.js</a>
<li><a href='DB.html'>DB.js</a>
<li><a href='File.html'>File.js</a>
<li><a href='Lang.html'>Lang.js</a>
<li><a href='Logging.html'>Logging.js</a>
<li><a href='Runtime.html'>Runtime.js</a>
<li><a href='Socket.html'>Socket.js</a>
<li><a href='UnitTest.html'>UnitTest.js</a>
<li><a href='json.html'>json.js</a>
</ul>
<h3>Global function</h3>
<ul>
<li><a href='#debug'>debug(msg)</a></li>
<li><a href='#error'>error(msg)</a></li>
<li><a href='#getLogger'>getLogger(name)</a></li>
<li><a href='#info'>info(msg)</a></li>
<li><a href='#initConfig'>initConfig(cfg)</a></li>
<li><a href='#trace'>trace(msg)</a></li>
<li><a href='#warn'>warn(msg)</a></li>
</ul>
<h3>Class List</h3>
<ul>
</ul>
</div>
</td><td with='80%'>
<div class='content'>
<div class='ctext'></div>
<div class='g_fun'><h3>Global function</h3>
<div class='fn'>
<div class='fn_sign'>
<span class='fn_name'>debug</span>
(<span class='fn_arg'>msg</span>)
&nbsp;return none
</div>
<div class='ctext'>
    output debug message on rootLoger
</div>
</div>
<div class='fn'>
<div class='fn_sign'>
<span class='fn_name'>error</span>
(<span class='fn_arg'>msg</span>)
&nbsp;return none
</div>
<div class='ctext'>
    output error message on rootLoger
</div>
</div>
<div class='fn'>
<div class='fn_sign'>
<span class='fn_name'>getLogger</span>
(<span class='fn_arg'>name</span>)
&nbsp;return none
</div>
<div class='ctext'>
    get logger
</div>
</div>
<div class='fn'>
<div class='fn_sign'>
<span class='fn_name'>info</span>
(<span class='fn_arg'>msg</span>)
&nbsp;return none
</div>
<div class='ctext'>
    output info message on rootLoger
</div>
</div>
<div class='fn'>
<div class='fn_sign'>
<span class='fn_name'>initConfig</span>
(<span class='fn_arg'>cfg</span>)
&nbsp;return none
</div>
<div class='ctext'>
    init log configuration.
    config item:<br />
    logLevel: trace, debug, info, warn, error<br />
    format: <br/>
    appender: <br />
    <pre>
        filename:
        format:     
    </pre>
   
</div>
</div>
<div class='fn'>
<div class='fn_sign'>
<span class='fn_name'>trace</span>
(<span class='fn_arg'>msg</span>)
&nbsp;return none
</div>
<div class='ctext'>
    output trace message on rootLoger
</div>
</div>
<div class='fn'>
<div class='fn_sign'>
<span class='fn_name'>warn</span>
(<span class='fn_arg'>msg</span>)
&nbsp;return none
</div>
<div class='ctext'>
    output warn message on rootLoger
</div>
</div>
</div>
</div>
</td></tr></table>
</div></body></html>
